<!-- <div class="router-view-wrap" *ngIf="isLoading">
	<mdl-spinner single-color active></mdl-spinner>
</div> -->
<form (ngSubmit)="onSubmit()" [formGroup]="form">
	<div class="block-title">{{formName}}</div>
	<div>
		<div *ngFor="let ctrl of ctrls">
			<ng-template [ngIf]="ctrl && ctrl.length > 1">
				<div class="form-row-container">
					<p class="fcp" *ngFor="let c of ctrl" class="form-row">
						<df-control [ctrlbox]="c" [form]="form"></df-control>
					</p>
				</div>
			</ng-template>
			<ng-template [ngIf]="ctrl && !ctrl.length">
				<div class="form-row">
					<df-control [ctrlbox]="ctrl" [form]="form"></df-control>
				</div>
			</ng-template>
		</div>
	</div>
	<!--<div class="form-row">
			<button type="submit" [disabled]="!form.valid">Save</button>
		</div>-->
</form>
<!--<div *ngIf="_payLoad" class="form-row">
	<strong>Saved the following values</strong><br>{{_payLoad}}
</div>-->